package edu.zut.cs.software.propertymanagement.commodity.service.Impl;

import java.util.List;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.propertymanagement.commodity.dao.WarehouseDao;
import edu.zut.cs.software.propertymanagement.commodity.domain.Warehouse;
import edu.zut.cs.software.propertymanagement.commodity.service.WarehouseManager;


@Component
@Transactional
public class WarehouseManagerImpl extends GenericManagerImpl<Warehouse, Long> implements WarehouseManager {

	WarehouseDao warehouseDao;

    @Autowired
    public void setShowingDao(WarehouseDao warehouseDao) {
        this.warehouseDao = warehouseDao;
        this.dao = this.warehouseDao;
    }

	@Override
	public List<Warehouse> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

}